package tests;

import bus.Calendar;
import junit.framework.Assert;
import junit.framework.TestCase;

public class CalendarTests extends TestCase {

	public CalendarTests(String arg0) {
		super(arg0);
	}

	protected void setUp() throws Exception {
		super.setUp();
	}

	protected void tearDown() throws Exception {
		super.tearDown();
	}

	public void testCalendar() {
		Calendar calendar = new Calendar();
		Assert.assertNotNull(calendar.getYear());
		
		Integer year = calendar.getYear().getYear();
		Integer expectedYear = 2006;
		
		Assert.assertEquals(expectedYear, year);
	}
}
